package cn.jxau.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 和管理员相关的操作
 * @author licho
 *
 */
@RequestMapping("/admin")
@Controller
public class AdminController extends BaseController {
	
	/**
	 * 后台管理的主页面
	 * @return
	 */
	@RequestMapping("/index")
	public ModelAndView adminIndex(){
		return new ModelAndView("admin/index");
	}
	@RequestMapping("/articletype")
	public ModelAndView articletype(){
		return new ModelAndView("admin/articletype");
	}
	@RequestMapping("/review")
	public ModelAndView review(){
		return new ModelAndView("admin/review");
	}
}
